package fr.rinie.android_first_step;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * All copyright reserved.
 * User: romain
 * Date: 11/20/13
 * Time: 9:54 PM
 * Please contact romain.rinie@xcom.de before any modification/distribution.
 */
public class MySQLiteDataBase extends SQLiteOpenHelper {
    public MySQLiteDataBase(Context context, String name, SQLiteDatabase.CursorFactory factory, int version) {
        super(context, name, factory, version);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        /*Nothing is done here, our database is preloaded so no database should be created*/
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
        /*Nothing is done here, our database is preloaded and cannot be modified by user*/
    }
}
